package org.fast.develop.logicflow.runtime.convert;

import org.fast.develop.logicflow.runtime.convert.execute.DefinitionsToJsonExecutor;
import org.fast.develop.logicflow.runtime.convert.execute.DesignerBuilderFactory;
import org.fast.develop.logicflow.runtime.convert.execute.DesignerToDefinitionsExecutor;

/**
 * @author czh
 * @version V1.0
 * @data Created on 2022-12-31 12:26
 */
public class LogicFlowConvertConfiguration {

    private DesignerBuilderFactory designerBuilderFactory;

    private DesignerToDefinitionsExecutor designerToDefinitionsExecutor;

    private DefinitionsToJsonExecutor definitionsToJsonExecutor;

    public LogicFlowConvertConfiguration(DesignerBuilderFactory designerBuilderFactory, DesignerToDefinitionsExecutor designerToDefinitionsExecutor, DefinitionsToJsonExecutor definitionsToJsonExecutor) {
        this.designerBuilderFactory = designerBuilderFactory;
        this.designerToDefinitionsExecutor = designerToDefinitionsExecutor;
        this.definitionsToJsonExecutor = definitionsToJsonExecutor;
    }

    public DesignerBuilderFactory getDesignerBuilderFactory() {
        return designerBuilderFactory;
    }

    public DesignerToDefinitionsExecutor getDesignerToDefinitionsExecutor() {
        return designerToDefinitionsExecutor;
    }

    public DefinitionsToJsonExecutor getDefinitionsToJsonExecutor() {
        return definitionsToJsonExecutor;
    }
}
